<%--
  Created by IntelliJ IDEA.
  User: camhoang
  Date: 7/26/11
  Time: 8:33 AM
  To change this template use File | Settings | File Templates.
--%>
<%@include file="include.jsp"%>
<%
   pageTitle = "Page Details";
   configurationTile = "Page Details";
%>
<%@include file="header.jsp"%>
      <br/>
      <c:if test="${not empty wordCounts and not empty pageDetails}">
         <h1>${pageDetails.url}</h1>
         <br/>
         <table border="1" cellpadding="3" cellspacing="0">
            <tr>
               <th>No</th>
               <th>Word</th>
               <th>Count</th>
            </tr>
            <% int count = 0; %>
            <c:forEach items="${wordCounts}" var="word">
               <tr>
                  <td><% out.print(++count); %></td>
                  <td>${word.word.label}</td>
                  <td>${word.count}</td>
               </tr>
            </c:forEach>
         </table>
      </c:if>
<%@include file="footer.jsp"%>